package com.example.blog.service;

import com.example.blog.dto.LikeDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface LikeService {
    LikeDTO likeArticle(Long articleId);
    void unlikeArticle(Long articleId);
    boolean hasLiked(Long articleId);
    Page<LikeDTO> getUserLikes(Long userId, Pageable pageable);
    Page<LikeDTO> getArticleLikes(Long articleId, Pageable pageable);
    long getArticleLikesCount(Long articleId);
} 